#ifndef _WORKER_H_
#define _WORKER_H_

#include "Code.h"
#include "Person.h"

class Worker : public Person
{

public:
	Worker();
	virtual ~Worker();

	Code * getEmployeeCode() const;
	void setEmployeeCode(const Code &code);
	Schedule * getSchedule() const;
	void setSchedule(const Schedule &schedule);
	float getSalary() const;
	void setSalary(const float &salary);

private:
	Code employeeCode;
	Schedule schedule;
	float salary;

};
#endif //_WORKER_H_